# Maintainer: Oliver Smith <ollieparaoid@postmarketos.org>
pkgname=postmarketos-release-upgrade
pkgver=1.8.0
pkgrel=0
pkgdesc="Upgrade from one pmOS release to the next one"
url="https://gitlab.postmarketos.org/postmarketOS/postmarketos-release-upgrade/"
source="
	https://gitlab.postmarketos.org/postmarketOS/postmarketos-release-upgrade/-/archive/$pkgver/postmarketos-release-upgrade-$pkgver.tar.bz2
"
arch="noarch"
license="GPL-3.0-or-later"
options="!check" # No tests

package() {
	install -Dm755 upgrade.sh "$pkgdir"/usr/bin/postmarketos-release-upgrade
}

sha512sums="
fade202408b08f85d7d57b6962b8f2863d7cda841adf21d19ba1f0ca0f7c4a17e4570c427c2697da31a5f3bf6a0763dc4139614c37ccb7f77292ba324b570e7d  postmarketos-release-upgrade-1.8.0.tar.bz2
"
